import tkinter as tk
from tkinter import font

def show_launch_screen(parent, items):
    """Show launch screen"""
    # Clear current interface
    for widget in parent.winfo_children():
        widget.destroy()
    
    # Title
    title_font = font.Font(family="Arial", size=24, weight="bold")
    title = tk.Label(parent, text="🎮 Character Collection Manager", font=title_font, fg="#2c3e50")
    title.pack(pady=40)
    
    # Statistics
    stats_font = font.Font(family="Arial", size=12)
    stats_text = f"Current Collection: {len(items)}/4 characters"
    stats_label = tk.Label(parent, text=stats_text, font=stats_font, fg="#7f8c8d")
    stats_label.pack(pady=10)
    
    # Enter button
    def enter_app():
        from .selection_screen import show_selection_screen
        show_selection_screen(parent, items)
    
    enter_btn = tk.Button(
        parent,
        text="Enter Manager",
        command=enter_app,
        bg="#3498db",
        fg="white",
        font=("Arial", 14),
        padx=20,
        pady=10
    )
    enter_btn.pack(pady=30)